package com.controller;

import java.io.File;
import java.security.cert.X509Certificate;
import java.util.HashMap;
import java.util.Map;

import com.alibaba.fastjson.JSON;
import org.springframework.http.ContentDisposition;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.util.FileCopyUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.common.certificate.CertificateEntityClass;
import com.common.certificate.ResultCertificate;
import com.common.certificate.TCertificate;

@RestController
public class CertificateController {
	@PostMapping("/certificate")
	public ResultCertificate greeting(@RequestBody CertificateEntityClass cec) throws Exception {

	}
	@GetMapping("/cert")
	public ResponseEntity<?> getCert(@RequestParam String name) throws Exception {
	}
	@PostMapping("/test")
	public String greeting1(@RequestBody CertificateEntityClass cec) throws Exception {
	}
}
